import re


result = re.match(r'xlsx|xls',"xlsx")

print(result)